
/* 全局布局和辅助类 */
.author-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--primary-font-family);
}

/* 作者信息布局 */
.author-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-portrait {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    flex: 1;
}

/* 作者姓名和介绍 */
.author-name,
.author-birth,
.author-birthplace,
.author-intro {
    margin-bottom: 5px;
    font-size: 16px;
    color: var(--primary-text-color);
}

/* 作者书籍网格布局 */
.author-books {
    width: 100%;
    margin-top: 20px;
}


.book-card img {
    width: 100%;
    max-width: 150px; /* 限制图片最大宽度 */
    height: 230px;
    border-radius: 4px;
}

.book-card h3 {
    margin-top: 10px;
    font-size: 18px;
}

.goodbook {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.book-g {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
